
#ifndef _GLOBAL_H_
#define _GLOBAL_H_

#include "config.h"
#include "comm_lib.h"

typedef struct app_global_t
{
	struct config_t
	{
		int flags;

		uint32_t send_ip;
		uint16_t send_port;

		uint32_t recv_ip;
		uint16_t recv_port;
		fn_comm_recv_cb pfn_recv_cb;
	}config;

} app_global_t;

extern app_global_t app_global;

#endif /* _GLOBAL_H_ */
